package net.thxjj.service;


import net.model.device.DeviceBean;
import net.util.ParameterMap;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;


@Component
public interface IDeviceService {

    public DeviceBean getDevice(ParameterMap parameterMap);


    public void updateDeviceOffline(ParameterMap parameterMap);

    public void insertDevNewInfo(ParameterMap parameterMap);

    public void insertDevSendLog(ParameterMap parameterMap);

    public void updateDevBaseInfo(ParameterMap parameterMap);

    public void updateDevOnlineStatus(ParameterMap parameterMap);

    List<Long> getRelationUserIds(@Param("device_id")String device_id);

    List<DeviceBean> getUserBindDeviceList(long user_id);
    List<String> getUserBindDevTidList(long user_id);
}
